3.12.38 \(\int x^2 (d+e x^2)^3 (a+b \text {ArcTan}(c x)) \, dx\) [1138]

Optimal. Leaf size=239 \[ -\frac {b \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right ) x^2}{630 c^7}-\frac {b e \left (189 c^4 d^2-135 c^2 d e+35 e^2\right ) x^4}{1260 c^5}-\frac {b \left (27 c^2 d-7 e\right ) e^2 x^6}{378 c^3}-\frac {b e^3 x^8}{72 c}+\frac {1}{3} d^3 x^3 (a+b \text {ArcTan}(c x))+\frac {3}{5} d^2 e x^5 (a+b \text {ArcTan}(c x))+\frac {3}{7} d e^2 x^7 (a+b \text {ArcTan}(c x))+\frac {1}{9} e^3 x^9 (a+b \text {ArcTan}(c x))+\frac {b \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right ) \log \left (1+c^2 x^2\right )}{630 c^9} \]

[Out]

-1/630*b*(105*c^6*d^3-189*c^4*d^2*e+135*c^2*d*e^2-35*e^3)*x^2/c^7-1/1260*b*e*(189*c^4*d^2-135*c^2*d*e+35*e^2)*
x^4/c^5-1/378*b*(27*c^2*d-7*e)*e^2*x^6/c^3-1/72*b*e^3*x^8/c+1/3*d^3*x^3*(a+b*arctan(c*x))+3/5*d^2*e*x^5*(a+b*a
rctan(c*x))+3/7*d*e^2*x^7*(a+b*arctan(c*x))+1/9*e^3*x^9*(a+b*arctan(c*x))+1/630*b*(105*c^6*d^3-189*c^4*d^2*e+1
35*c^2*d*e^2-35*e^3)*ln(c^2*x^2+1)/c^9

________________________________________________________________________________________

Rubi [A]
time = 0.26, antiderivative size = 239, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {276, 5096, 12, 1813, 1634} \begin {gather*} \frac {1}{3} d^3 x^3 (a+b \text {ArcTan}(c x))+\frac {3}{5} d^2 e x^5 (a+b \text {ArcTan}(c x))+\frac {3}{7} d e^2 x^7 (a+b \text {ArcTan}(c x))+\frac {1}{9} e^3 x^9 (a+b \text {ArcTan}(c x))-\frac {b e^2 x^6 \left (27 c^2 d-7 e\right )}{378 c^3}-\frac {b e x^4 \left (189 c^4 d^2-135 c^2 d e+35 e^2\right )}{1260 c^5}+\frac {b \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right ) \log \left (c^2 x^2+1\right )}{630 c^9}-\frac {b x^2 \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right )}{630 c^7}-\frac {b e^3 x^8}{72 c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*(d + e*x^2)^3*(a + b*ArcTan[c*x]),x]

[Out]

-1/630*(b*(105*c^6*d^3 - 189*c^4*d^2*e + 135*c^2*d*e^2 - 35*e^3)*x^2)/c^7 - (b*e*(189*c^4*d^2 - 135*c^2*d*e +
35*e^2)*x^4)/(1260*c^5) - (b*(27*c^2*d - 7*e)*e^2*x^6)/(378*c^3) - (b*e^3*x^8)/(72*c) + (d^3*x^3*(a + b*ArcTan
[c*x]))/3 + (3*d^2*e*x^5*(a + b*ArcTan[c*x]))/5 + (3*d*e^2*x^7*(a + b*ArcTan[c*x]))/7 + (e^3*x^9*(a + b*ArcTan
[c*x]))/9 + (b*(105*c^6*d^3 - 189*c^4*d^2*e + 135*c^2*d*e^2 - 35*e^3)*Log[1 + c^2*x^2])/(630*c^9)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 276

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*(a + b*x^n)^p,
 x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0]

Rule 1634

Int[(Px_)*((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[Px*(a + b*x)
^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && PolyQ[Px, x] && (IntegersQ[m, n] || IGtQ[m, -2]) &&
GtQ[Expon[Px, x], 2]

Rule 1813

Int[(Pq_)*(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[1/2, Subst[Int[x^((m - 1)/2)*SubstFor[x^2,
 Pq, x]*(a + b*x)^p, x], x, x^2], x] /; FreeQ[{a, b, p}, x] && PolyQ[Pq, x^2] && IntegerQ[(m - 1)/2]

Rule 5096

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_.)*((d_.) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> With[{u =
 IntHide[(f*x)^m*(d + e*x^2)^q, x]}, Dist[a + b*ArcTan[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/(1 + c^
2*x^2), x], x], x]] /; FreeQ[{a, b, c, d, e, f, m, q}, x] && ((IGtQ[q, 0] &&  !(ILtQ[(m - 1)/2, 0] && GtQ[m +
2*q + 3, 0])) || (IGtQ[(m + 1)/2, 0] &&  !(ILtQ[q, 0] && GtQ[m + 2*q + 3, 0])) || (ILtQ[(m + 2*q + 1)/2, 0] &&
  !ILtQ[(m - 1)/2, 0]))

Rubi steps

\begin {align*} \int x^2 \left (d+e x^2\right )^3 \left (a+b \tan ^{-1}(c x)\right ) \, dx &=\frac {1}{3} d^3 x^3 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{5} d^2 e x^5 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{7} d e^2 x^7 \left (a+b \tan ^{-1}(c x)\right )+\frac {1}{9} e^3 x^9 \left (a+b \tan ^{-1}(c x)\right )-(b c) \int \frac {x^3 \left (105 d^3+189 d^2 e x^2+135 d e^2 x^4+35 e^3 x^6\right )}{315 \left (1+c^2 x^2\right )} \, dx\\ &=\frac {1}{3} d^3 x^3 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{5} d^2 e x^5 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{7} d e^2 x^7 \left (a+b \tan ^{-1}(c x)\right )+\frac {1}{9} e^3 x^9 \left (a+b \tan ^{-1}(c x)\right )-\frac {1}{315} (b c) \int \frac {x^3 \left (105 d^3+189 d^2 e x^2+135 d e^2 x^4+35 e^3 x^6\right )}{1+c^2 x^2} \, dx\\ &=\frac {1}{3} d^3 x^3 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{5} d^2 e x^5 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{7} d e^2 x^7 \left (a+b \tan ^{-1}(c x)\right )+\frac {1}{9} e^3 x^9 \left (a+b \tan ^{-1}(c x)\right )-\frac {1}{630} (b c) \text {Subst}\left (\int \frac {x \left (105 d^3+189 d^2 e x+135 d e^2 x^2+35 e^3 x^3\right )}{1+c^2 x} \, dx,x,x^2\right )\\ &=\frac {1}{3} d^3 x^3 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{5} d^2 e x^5 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{7} d e^2 x^7 \left (a+b \tan ^{-1}(c x)\right )+\frac {1}{9} e^3 x^9 \left (a+b \tan ^{-1}(c x)\right )-\frac {1}{630} (b c) \text {Subst}\left (\int \left (\frac {105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3}{c^8}+\frac {e \left (189 c^4 d^2-135 c^2 d e+35 e^2\right ) x}{c^6}+\frac {5 \left (27 c^2 d-7 e\right ) e^2 x^2}{c^4}+\frac {35 e^3 x^3}{c^2}+\frac {-105 c^6 d^3+189 c^4 d^2 e-135 c^2 d e^2+35 e^3}{c^8 \left (1+c^2 x\right )}\right ) \, dx,x,x^2\right )\\ &=-\frac {b \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right ) x^2}{630 c^7}-\frac {b e \left (189 c^4 d^2-135 c^2 d e+35 e^2\right ) x^4}{1260 c^5}-\frac {b \left (27 c^2 d-7 e\right ) e^2 x^6}{378 c^3}-\frac {b e^3 x^8}{72 c}+\frac {1}{3} d^3 x^3 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{5} d^2 e x^5 \left (a+b \tan ^{-1}(c x)\right )+\frac {3}{7} d e^2 x^7 \left (a+b \tan ^{-1}(c x)\right )+\frac {1}{9} e^3 x^9 \left (a+b \tan ^{-1}(c x)\right )+\frac {b \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right ) \log \left (1+c^2 x^2\right )}{630 c^9}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 236, normalized size = 0.99 \begin {gather*} \frac {c^2 x^2 \left (420 b e^3-30 b c^2 e^2 \left (54 d+7 e x^2\right )+2 b c^4 e \left (1134 d^2+405 d e x^2+70 e^2 x^4\right )+24 a c^7 x \left (105 d^3+189 d^2 e x^2+135 d e^2 x^4+35 e^3 x^6\right )-3 b c^6 \left (420 d^3+378 d^2 e x^2+180 d e^2 x^4+35 e^3 x^6\right )\right )+24 b c^9 x^3 \left (105 d^3+189 d^2 e x^2+135 d e^2 x^4+35 e^3 x^6\right ) \text {ArcTan}(c x)+12 b \left (105 c^6 d^3-189 c^4 d^2 e+135 c^2 d e^2-35 e^3\right ) \log \left (1+c^2 x^2\right )}{7560 c^9} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2*(d + e*x^2)^3*(a + b*ArcTan[c*x]),x]

[Out]

(c^2*x^2*(420*b*e^3 - 30*b*c^2*e^2*(54*d + 7*e*x^2) + 2*b*c^4*e*(1134*d^2 + 405*d*e*x^2 + 70*e^2*x^4) + 24*a*c
^7*x*(105*d^3 + 189*d^2*e*x^2 + 135*d*e^2*x^4 + 35*e^3*x^6) - 3*b*c^6*(420*d^3 + 378*d^2*e*x^2 + 180*d*e^2*x^4
 + 35*e^3*x^6)) + 24*b*c^9*x^3*(105*d^3 + 189*d^2*e*x^2 + 135*d*e^2*x^4 + 35*e^3*x^6)*ArcTan[c*x] + 12*b*(105*
c^6*d^3 - 189*c^4*d^2*e + 135*c^2*d*e^2 - 35*e^3)*Log[1 + c^2*x^2])/(7560*c^9)

________________________________________________________________________________________

Maple [A]
time = 0.28, size = 315, normalized size = 1.32

method result size
derivativedivides \(\frac {\frac {a \left (\frac {1}{3} d^{3} c^{9} x^{3}+\frac {3}{5} d^{2} c^{9} e \,x^{5}+\frac {3}{7} d \,c^{9} e^{2} x^{7}+\frac {1}{9} e^{3} c^{9} x^{9}\right )}{c^{6}}+\frac {b \arctan \left (c x \right ) d^{3} c^{3} x^{3}}{3}+\frac {3 b \,c^{3} \arctan \left (c x \right ) d^{2} e \,x^{5}}{5}+\frac {3 b \,c^{3} \arctan \left (c x \right ) d \,e^{2} x^{7}}{7}+\frac {b \,c^{3} \arctan \left (c x \right ) e^{3} x^{9}}{9}-\frac {b \,d^{3} c^{2} x^{2}}{6}-\frac {3 b \,c^{2} d^{2} e \,x^{4}}{20}+\frac {3 b \,d^{2} e \,x^{2}}{10}-\frac {b \,c^{2} d \,e^{2} x^{6}}{14}+\frac {3 b d \,e^{2} x^{4}}{28}-\frac {b \,c^{2} e^{3} x^{8}}{72}-\frac {3 b d \,e^{2} x^{2}}{14 c^{2}}+\frac {b \,e^{3} x^{6}}{54}-\frac {b \,e^{3} x^{4}}{36 c^{2}}+\frac {b \,e^{3} x^{2}}{18 c^{4}}+\frac {b \ln \left (c^{2} x^{2}+1\right ) d^{3}}{6}-\frac {3 b \ln \left (c^{2} x^{2}+1\right ) d^{2} e}{10 c^{2}}+\frac {3 b \ln \left (c^{2} x^{2}+1\right ) d \,e^{2}}{14 c^{4}}-\frac {b \ln \left (c^{2} x^{2}+1\right ) e^{3}}{18 c^{6}}}{c^{3}}\) \(315\)
default \(\frac {\frac {a \left (\frac {1}{3} d^{3} c^{9} x^{3}+\frac {3}{5} d^{2} c^{9} e \,x^{5}+\frac {3}{7} d \,c^{9} e^{2} x^{7}+\frac {1}{9} e^{3} c^{9} x^{9}\right )}{c^{6}}+\frac {b \arctan \left (c x \right ) d^{3} c^{3} x^{3}}{3}+\frac {3 b \,c^{3} \arctan \left (c x \right ) d^{2} e \,x^{5}}{5}+\frac {3 b \,c^{3} \arctan \left (c x \right ) d \,e^{2} x^{7}}{7}+\frac {b \,c^{3} \arctan \left (c x \right ) e^{3} x^{9}}{9}-\frac {b \,d^{3} c^{2} x^{2}}{6}-\frac {3 b \,c^{2} d^{2} e \,x^{4}}{20}+\frac {3 b \,d^{2} e \,x^{2}}{10}-\frac {b \,c^{2} d \,e^{2} x^{6}}{14}+\frac {3 b d \,e^{2} x^{4}}{28}-\frac {b \,c^{2} e^{3} x^{8}}{72}-\frac {3 b d \,e^{2} x^{2}}{14 c^{2}}+\frac {b \,e^{3} x^{6}}{54}-\frac {b \,e^{3} x^{4}}{36 c^{2}}+\frac {b \,e^{3} x^{2}}{18 c^{4}}+\frac {b \ln \left (c^{2} x^{2}+1\right ) d^{3}}{6}-\frac {3 b \ln \left (c^{2} x^{2}+1\right ) d^{2} e}{10 c^{2}}+\frac {3 b \ln \left (c^{2} x^{2}+1\right ) d \,e^{2}}{14 c^{4}}-\frac {b \ln \left (c^{2} x^{2}+1\right ) e^{3}}{18 c^{6}}}{c^{3}}\) \(315\)
risch \(\frac {3 i b d \,e^{2} x^{7} \ln \left (-i c x +1\right )}{14}-\frac {i b \left (35 e^{3} x^{9}+135 e^{2} d \,x^{7}+189 d^{2} e \,x^{5}+105 d^{3} x^{3}\right ) \ln \left (i c x +1\right )}{630}+\frac {3 i b \,d^{2} e \,x^{5} \ln \left (-i c x +1\right )}{10}+\frac {x^{9} e^{3} a}{9}+\frac {i b \,d^{3} x^{3} \ln \left (-i c x +1\right )}{6}+\frac {3 x^{7} e^{2} d a}{7}-\frac {b \,e^{3} x^{8}}{72 c}+\frac {i b \,e^{3} x^{9} \ln \left (-i c x +1\right )}{18}+\frac {3 x^{5} e \,d^{2} a}{5}-\frac {b d \,e^{2} x^{6}}{14 c}+\frac {x^{3} d^{3} a}{3}-\frac {3 b \,d^{2} e \,x^{4}}{20 c}+\frac {b \,e^{3} x^{6}}{54 c^{3}}-\frac {b \,d^{3} x^{2}}{6 c}+\frac {3 b d \,e^{2} x^{4}}{28 c^{3}}+\frac {3 b \,d^{2} e \,x^{2}}{10 c^{3}}-\frac {b \,e^{3} x^{4}}{36 c^{5}}+\frac {\ln \left (-c^{2} x^{2}-1\right ) b \,d^{3}}{6 c^{3}}-\frac {3 b d \,e^{2} x^{2}}{14 c^{5}}-\frac {3 \ln \left (-c^{2} x^{2}-1\right ) b \,d^{2} e}{10 c^{5}}+\frac {b \,e^{3} x^{2}}{18 c^{7}}+\frac {3 \ln \left (-c^{2} x^{2}-1\right ) b d \,e^{2}}{14 c^{7}}-\frac {\ln \left (-c^{2} x^{2}-1\right ) b \,e^{3}}{18 c^{9}}\) \(368\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(e*x^2+d)^3*(a+b*arctan(c*x)),x,method=_RETURNVERBOSE)

[Out]

1/c^3*(a/c^6*(1/3*d^3*c^9*x^3+3/5*d^2*c^9*e*x^5+3/7*d*c^9*e^2*x^7+1/9*e^3*c^9*x^9)+1/3*b*arctan(c*x)*d^3*c^3*x
^3+3/5*b*c^3*arctan(c*x)*d^2*e*x^5+3/7*b*c^3*arctan(c*x)*d*e^2*x^7+1/9*b*c^3*arctan(c*x)*e^3*x^9-1/6*b*d^3*c^2
*x^2-3/20*b*c^2*d^2*e*x^4+3/10*b*d^2*e*x^2-1/14*b*c^2*d*e^2*x^6+3/28*b*d*e^2*x^4-1/72*b*c^2*e^3*x^8-3/14*b/c^2
*d*e^2*x^2+1/54*b*e^3*x^6-1/36*b/c^2*e^3*x^4+1/18*b/c^4*e^3*x^2+1/6*b*ln(c^2*x^2+1)*d^3-3/10*b/c^2*ln(c^2*x^2+
1)*d^2*e+3/14*b/c^4*ln(c^2*x^2+1)*d*e^2-1/18*b/c^6*ln(c^2*x^2+1)*e^3)

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 263, normalized size = 1.10 \begin {gather*} \frac {1}{9} \, a x^{9} e^{3} + \frac {3}{7} \, a d x^{7} e^{2} + \frac {3}{5} \, a d^{2} x^{5} e + \frac {1}{3} \, a d^{3} x^{3} + \frac {1}{6} \, {\left (2 \, x^{3} \arctan \left (c x\right ) - c {\left (\frac {x^{2}}{c^{2}} - \frac {\log \left (c^{2} x^{2} + 1\right )}{c^{4}}\right )}\right )} b d^{3} + \frac {3}{20} \, {\left (4 \, x^{5} \arctan \left (c x\right ) - c {\left (\frac {c^{2} x^{4} - 2 \, x^{2}}{c^{4}} + \frac {2 \, \log \left (c^{2} x^{2} + 1\right )}{c^{6}}\right )}\right )} b d^{2} e + \frac {1}{28} \, {\left (12 \, x^{7} \arctan \left (c x\right ) - c {\left (\frac {2 \, c^{4} x^{6} - 3 \, c^{2} x^{4} + 6 \, x^{2}}{c^{6}} - \frac {6 \, \log \left (c^{2} x^{2} + 1\right )}{c^{8}}\right )}\right )} b d e^{2} + \frac {1}{216} \, {\left (24 \, x^{9} \arctan \left (c x\right ) - c {\left (\frac {3 \, c^{6} x^{8} - 4 \, c^{4} x^{6} + 6 \, c^{2} x^{4} - 12 \, x^{2}}{c^{8}} + \frac {12 \, \log \left (c^{2} x^{2} + 1\right )}{c^{10}}\right )}\right )} b e^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(e*x^2+d)^3*(a+b*arctan(c*x)),x, algorithm="maxima")

[Out]

1/9*a*x^9*e^3 + 3/7*a*d*x^7*e^2 + 3/5*a*d^2*x^5*e + 1/3*a*d^3*x^3 + 1/6*(2*x^3*arctan(c*x) - c*(x^2/c^2 - log(
c^2*x^2 + 1)/c^4))*b*d^3 + 3/20*(4*x^5*arctan(c*x) - c*((c^2*x^4 - 2*x^2)/c^4 + 2*log(c^2*x^2 + 1)/c^6))*b*d^2
*e + 1/28*(12*x^7*arctan(c*x) - c*((2*c^4*x^6 - 3*c^2*x^4 + 6*x^2)/c^6 - 6*log(c^2*x^2 + 1)/c^8))*b*d*e^2 + 1/
216*(24*x^9*arctan(c*x) - c*((3*c^6*x^8 - 4*c^4*x^6 + 6*c^2*x^4 - 12*x^2)/c^8 + 12*log(c^2*x^2 + 1)/c^10))*b*e
^3

________________________________________________________________________________________

Fricas [A]
time = 3.14, size = 269, normalized size = 1.13 \begin {gather*} \frac {2520 \, a c^{9} d^{3} x^{3} - 1260 \, b c^{8} d^{3} x^{2} + 24 \, {\left (35 \, b c^{9} x^{9} e^{3} + 135 \, b c^{9} d x^{7} e^{2} + 189 \, b c^{9} d^{2} x^{5} e + 105 \, b c^{9} d^{3} x^{3}\right )} \arctan \left (c x\right ) + 35 \, {\left (24 \, a c^{9} x^{9} - 3 \, b c^{8} x^{8} + 4 \, b c^{6} x^{6} - 6 \, b c^{4} x^{4} + 12 \, b c^{2} x^{2}\right )} e^{3} + 270 \, {\left (12 \, a c^{9} d x^{7} - 2 \, b c^{8} d x^{6} + 3 \, b c^{6} d x^{4} - 6 \, b c^{4} d x^{2}\right )} e^{2} + 1134 \, {\left (4 \, a c^{9} d^{2} x^{5} - b c^{8} d^{2} x^{4} + 2 \, b c^{6} d^{2} x^{2}\right )} e + 12 \, {\left (105 \, b c^{6} d^{3} - 189 \, b c^{4} d^{2} e + 135 \, b c^{2} d e^{2} - 35 \, b e^{3}\right )} \log \left (c^{2} x^{2} + 1\right )}{7560 \, c^{9}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(e*x^2+d)^3*(a+b*arctan(c*x)),x, algorithm="fricas")

[Out]

1/7560*(2520*a*c^9*d^3*x^3 - 1260*b*c^8*d^3*x^2 + 24*(35*b*c^9*x^9*e^3 + 135*b*c^9*d*x^7*e^2 + 189*b*c^9*d^2*x
^5*e + 105*b*c^9*d^3*x^3)*arctan(c*x) + 35*(24*a*c^9*x^9 - 3*b*c^8*x^8 + 4*b*c^6*x^6 - 6*b*c^4*x^4 + 12*b*c^2*
x^2)*e^3 + 270*(12*a*c^9*d*x^7 - 2*b*c^8*d*x^6 + 3*b*c^6*d*x^4 - 6*b*c^4*d*x^2)*e^2 + 1134*(4*a*c^9*d^2*x^5 -
b*c^8*d^2*x^4 + 2*b*c^6*d^2*x^2)*e + 12*(105*b*c^6*d^3 - 189*b*c^4*d^2*e + 135*b*c^2*d*e^2 - 35*b*e^3)*log(c^2
*x^2 + 1))/c^9

________________________________________________________________________________________

Sympy [A]
time = 0.73, size = 389, normalized size = 1.63 \begin {gather*} \begin {cases} \frac {a d^{3} x^{3}}{3} + \frac {3 a d^{2} e x^{5}}{5} + \frac {3 a d e^{2} x^{7}}{7} + \frac {a e^{3} x^{9}}{9} + \frac {b d^{3} x^{3} \operatorname {atan}{\left (c x \right )}}{3} + \frac {3 b d^{2} e x^{5} \operatorname {atan}{\left (c x \right )}}{5} + \frac {3 b d e^{2} x^{7} \operatorname {atan}{\left (c x \right )}}{7} + \frac {b e^{3} x^{9} \operatorname {atan}{\left (c x \right )}}{9} - \frac {b d^{3} x^{2}}{6 c} - \frac {3 b d^{2} e x^{4}}{20 c} - \frac {b d e^{2} x^{6}}{14 c} - \frac {b e^{3} x^{8}}{72 c} + \frac {b d^{3} \log {\left (x^{2} + \frac {1}{c^{2}} \right )}}{6 c^{3}} + \frac {3 b d^{2} e x^{2}}{10 c^{3}} + \frac {3 b d e^{2} x^{4}}{28 c^{3}} + \frac {b e^{3} x^{6}}{54 c^{3}} - \frac {3 b d^{2} e \log {\left (x^{2} + \frac {1}{c^{2}} \right )}}{10 c^{5}} - \frac {3 b d e^{2} x^{2}}{14 c^{5}} - \frac {b e^{3} x^{4}}{36 c^{5}} + \frac {3 b d e^{2} \log {\left (x^{2} + \frac {1}{c^{2}} \right )}}{14 c^{7}} + \frac {b e^{3} x^{2}}{18 c^{7}} - \frac {b e^{3} \log {\left (x^{2} + \frac {1}{c^{2}} \right )}}{18 c^{9}} & \text {for}\: c \neq 0 \\a \left (\frac {d^{3} x^{3}}{3} + \frac {3 d^{2} e x^{5}}{5} + \frac {3 d e^{2} x^{7}}{7} + \frac {e^{3} x^{9}}{9}\right ) & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(e*x**2+d)**3*(a+b*atan(c*x)),x)

[Out]

Piecewise((a*d**3*x**3/3 + 3*a*d**2*e*x**5/5 + 3*a*d*e**2*x**7/7 + a*e**3*x**9/9 + b*d**3*x**3*atan(c*x)/3 + 3
*b*d**2*e*x**5*atan(c*x)/5 + 3*b*d*e**2*x**7*atan(c*x)/7 + b*e**3*x**9*atan(c*x)/9 - b*d**3*x**2/(6*c) - 3*b*d
**2*e*x**4/(20*c) - b*d*e**2*x**6/(14*c) - b*e**3*x**8/(72*c) + b*d**3*log(x**2 + c**(-2))/(6*c**3) + 3*b*d**2
*e*x**2/(10*c**3) + 3*b*d*e**2*x**4/(28*c**3) + b*e**3*x**6/(54*c**3) - 3*b*d**2*e*log(x**2 + c**(-2))/(10*c**
5) - 3*b*d*e**2*x**2/(14*c**5) - b*e**3*x**4/(36*c**5) + 3*b*d*e**2*log(x**2 + c**(-2))/(14*c**7) + b*e**3*x**
2/(18*c**7) - b*e**3*log(x**2 + c**(-2))/(18*c**9), Ne(c, 0)), (a*(d**3*x**3/3 + 3*d**2*e*x**5/5 + 3*d*e**2*x*
*7/7 + e**3*x**9/9), True))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(e*x^2+d)^3*(a+b*arctan(c*x)),x, algorithm="giac")

[Out]

sage0*x

________________________________________________________________________________________

Mupad [B]
time = 0.97, size = 296, normalized size = 1.24 \begin {gather*} \frac {a\,d^3\,x^3}{3}+\frac {a\,e^3\,x^9}{9}+\frac {b\,d^3\,\ln \left (c^2\,x^2+1\right )}{6\,c^3}-\frac {b\,e^3\,\ln \left (c^2\,x^2+1\right )}{18\,c^9}-\frac {b\,d^3\,x^2}{6\,c}-\frac {b\,e^3\,x^8}{72\,c}+\frac {b\,e^3\,x^6}{54\,c^3}-\frac {b\,e^3\,x^4}{36\,c^5}+\frac {b\,e^3\,x^2}{18\,c^7}+\frac {3\,a\,d^2\,e\,x^5}{5}+\frac {3\,a\,d\,e^2\,x^7}{7}+\frac {b\,d^3\,x^3\,\mathrm {atan}\left (c\,x\right )}{3}+\frac {b\,e^3\,x^9\,\mathrm {atan}\left (c\,x\right )}{9}+\frac {3\,b\,d^2\,e\,x^5\,\mathrm {atan}\left (c\,x\right )}{5}+\frac {3\,b\,d\,e^2\,x^7\,\mathrm {atan}\left (c\,x\right )}{7}-\frac {3\,b\,d^2\,e\,\ln \left (c^2\,x^2+1\right )}{10\,c^5}+\frac {3\,b\,d\,e^2\,\ln \left (c^2\,x^2+1\right )}{14\,c^7}-\frac {3\,b\,d^2\,e\,x^4}{20\,c}+\frac {3\,b\,d^2\,e\,x^2}{10\,c^3}-\frac {b\,d\,e^2\,x^6}{14\,c}+\frac {3\,b\,d\,e^2\,x^4}{28\,c^3}-\frac {3\,b\,d\,e^2\,x^2}{14\,c^5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*atan(c*x))*(d + e*x^2)^3,x)

[Out]

(a*d^3*x^3)/3 + (a*e^3*x^9)/9 + (b*d^3*log(c^2*x^2 + 1))/(6*c^3) - (b*e^3*log(c^2*x^2 + 1))/(18*c^9) - (b*d^3*
x^2)/(6*c) - (b*e^3*x^8)/(72*c) + (b*e^3*x^6)/(54*c^3) - (b*e^3*x^4)/(36*c^5) + (b*e^3*x^2)/(18*c^7) + (3*a*d^
2*e*x^5)/5 + (3*a*d*e^2*x^7)/7 + (b*d^3*x^3*atan(c*x))/3 + (b*e^3*x^9*atan(c*x))/9 + (3*b*d^2*e*x^5*atan(c*x))
/5 + (3*b*d*e^2*x^7*atan(c*x))/7 - (3*b*d^2*e*log(c^2*x^2 + 1))/(10*c^5) + (3*b*d*e^2*log(c^2*x^2 + 1))/(14*c^
7) - (3*b*d^2*e*x^4)/(20*c) + (3*b*d^2*e*x^2)/(10*c^3) - (b*d*e^2*x^6)/(14*c) + (3*b*d*e^2*x^4)/(28*c^3) - (3*
b*d*e^2*x^2)/(14*c^5)

________________________________________________________________________________________